SourceCrop class Null safety
视频裁剪参数
Constructors
- SourceCrop({double locationX = 0, double locationY = 0, double widthProportion = 1, double heightProportion = 1})
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- heightProportion ↔ double
-
裁剪后得到的视频帧高度相对于裁剪前整体画面的归一化比例,取值范围(0.0, 1.0]
read / write
- locationX ↔ double
-
裁剪后得到的视频帧左上角横坐标相对于裁剪前整体画面的归一化比例,取值范围[0.0, 1.0)
read / write
- locationY ↔ double
-
裁剪后得到的视频帧左上角纵坐标相对于裁剪前整体画面的归一化比例,取值范围[0.0, 1.0)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- widthProportion ↔ double
-
裁剪后得到的视频帧宽度相对于裁剪前整体画面的归一化比例,取值范围(0.0, 1.0]
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited